package jwdt.xadmin.info.bean;

import com.ezerg.db.Jdb;
import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.Table;

@Table(name="t_news", keys={"id"}, comment="")
public class TNews implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="id", comment="")
	private Integer id;
	
	@Column(value="title", comment="文章标题")
	private String title;
	
	@Column(value="checked", comment="审核")
	private Integer checked;
	
	@Column(value="author", comment="文章作者")
	private String author;
	
	@Column(value="editor", comment="编辑人")
	private String editor;
	
	@Column(value="original", comment="文章来源")
	private String original;
	
	@Column(value="image", comment="图片")
	private String image;
	
	@Column(value="updatetime", comment="发布时间")
	private String updatetime;
	
	@Column(value="starttime", comment="开始时间")
	private String starttime;
	
	@Column(value="stoptime", comment="结束时间")
	private String stoptime;
	
	@Column(value="content", comment="内容")
	private String content;
	
	@Column(value="goodnews", comment="推荐文章")
	private Integer goodnews;
	
	@Column(value="daodu", comment="大标条头")
	private Integer daodu;
	
	@Column(value="about", comment="相关文章")
	private String about;
	
	@Column(value="specialid2", comment="第二专题")
	private Integer specialid2;
	
	@Column(value="specialid", comment="所属专题")
	private Integer specialid;
	
	@Column(value="tel", comment="")
	private String tel;
	
	@Column(value="click", comment="点击次数")
	private Integer click;
	
	@Column(value="typeid", comment="大栏目ID")
	private Integer typeid;
	
	@Column(value="typeid2", comment="小栏目ID")
	private Integer typeid2;
	
	@Column(value="istop", comment="文章固顶")
	private Integer istop;
	
	@Column(value="bigclassid", comment="大类")
	private Integer bigclassid;
	
	@Column(value="smallclassid", comment="小类")
	private Integer smallclassid;
	
	@Column(value="picnews", comment="图片信息")
	private Integer picnews;
	
	@Column(value="picname", comment="图片名称")
	private String picname;
	
	@Column(value="newslevel", comment="文章级别")
	private Integer newslevel;
	
	@Column(value="titletype", comment="文字类型")
	private String titletype;
	
	@Column(value="titleface", comment="链接文章")
	private String titleface;
	
	@Column(value="titlecolor", comment="文字颜色")
	private String titlecolor;
	
	@Column(value="titlesize", comment="是否评论")
	private Integer titlesize;
	
	@Column(value="newsrelated", comment="相关文章")
	private Integer newsrelated;
	
	@Column(value="support", comment="是否赞助")
	private Integer support;
	
	@Column(value="supported", comment="已经赞助")
	private Integer supported;
	
	@Column(value="sign", comment="审核")
	private Integer sign;
	
	@Column(value="savefilename", comment="")
	private String savefilename;
	
	@Column(value="sequence", comment="排序")
	private Integer sequence;
	
	@Column(value="url", comment="内部链接")
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getChecked() {
		return checked;
	}
	
	public void setChecked(Integer checkked) {
		this.checked = checkked;
	}
	public String getAuthor() {
		return author;
	}
	
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getEditor() {
		return editor;
	}
	
	public void setEditor(String editor) {
		this.editor = editor;
	}
	public String getOriginal() {
		return original;
	}
	
	public void setOriginal(String original) {
		this.original = original;
	}
	public String getImage() {
		return image;
	}
	
	public void setImage(String image) {
		this.image = image;
	}
	public String getUpdatetime() {
		return updatetime;
	}
	
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	
	public String getStarttime() {
		return starttime;
	}

	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}

	public String getStoptime() {
		return stoptime;
	}

	public void setStoptime(String stoptime) {
		this.stoptime = stoptime;
	}

	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getGoodnews() {
		return goodnews;
	}
	
	public void setGoodnews(Integer goodnews) {
		this.goodnews = goodnews;
	}
	public Integer getDaodu() {
		return daodu;
	}
	
	public void setDaodu(Integer daodu) {
		this.daodu = daodu;
	}
	public String getAbout() {
		return about;
	}
	
	public void setAbout(String about) {
		this.about = about;
	}
	public Integer getSpecialid2() {
		return specialid2;
	}
	
	public void setSpecialid2(Integer specialid2) {
		this.specialid2 = specialid2;
	}
	public Integer getSpecialid() {
		return specialid;
	}
	
	public void setSpecialid(Integer specialid) {
		this.specialid = specialid;
	}
	public String getTel() {
		return tel;
	}
	
	public void setTel(String tel) {
		this.tel = tel;
	}
	public Integer getClick() {
		return click;
	}
	
	public void setClick(Integer click) {
		this.click = click;
	}
	public Integer getTypeid() {
		return typeid;
	}
	
	public String getTypename() {
		TType t = (TType)Jdb.get().get(TType.class, this.typeid);
		if(t == null)
			return "";
		return t.getName();
	}
	
	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}
	public Integer getIstop() {
		return istop;
	}
	
	public void setIstop(Integer istop) {
		this.istop = istop;
	}
	
	public Integer getBigclassid() {
		return bigclassid;
	}
	
	public void setBigclassid(Integer bigclassid) {
		this.bigclassid = bigclassid;
	}
	public Integer getSmallclassid() {
		return smallclassid;
	}
	
	public void setSmallclassid(Integer smallclassid) {
		this.smallclassid = smallclassid;
	}
	public Integer getPicnews() {
		return picnews;
	}
	
	public void setPicnews(Integer picnews) {
		this.picnews = picnews;
	}
	public String getPicname() {
		return picname;
	}
	
	public void setPicname(String picname) {
		this.picname = picname;
	}
	public Integer getNewslevel() {
		return newslevel;
	}
	
	public void setNewslevel(Integer newslevel) {
		this.newslevel = newslevel;
	}
	public String getTitletype() {
		return titletype;
	}
	
	public void setTitletype(String titletype) {
		this.titletype = titletype;
	}
	public String getTitleface() {
		return titleface;
	}
	
	public void setTitleface(String titleface) {
		this.titleface = titleface;
	}
	public String getTitlecolor() {
		return titlecolor;
	}
	
	public void setTitlecolor(String titlecolor) {
		this.titlecolor = titlecolor;
	}
	public Integer getTitlesize() {
		return titlesize;
	}
	
	public void setTitlesize(Integer titlesize) {
		this.titlesize = titlesize;
	}
	public Integer getNewsrelated() {
		return newsrelated;
	}
	
	public void setNewsrelated(Integer newsrelated) {
		this.newsrelated = newsrelated;
	}
	public Integer getSupport() {
		return support;
	}
	
	public void setSupport(Integer support) {
		this.support = support;
	}
	public Integer getSupported() {
		return supported;
	}
	
	public void setSupported(Integer supported) {
		this.supported = supported;
	}
	public Integer getSign() {
		return sign;
	}
	
	public void setSign(Integer sign) {
		this.sign = sign;
	}
	public String getSavefilename() {
		return savefilename;
	}
	
	public void setSavefilename(String savefilename) {
		this.savefilename = savefilename;
	}
	public Integer getSequence() {
		return sequence;
	}
	
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Integer getTypeid2() {
		return typeid2;
	}

	public void setTypeid2(Integer typeid2) {
		this.typeid2 = typeid2;
	}
	
}
